package cn.hp.service;

import cn.hp.entity.Role2;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface Role2Service {

    PageInfo<Role2> findRole(Role2 role, Integer page, Integer limit);

    List<Role2> findRole(Role2 role);

    int insertRole(Role2 role);

    int updateRole(Role2 role);

    int deleteRoleById(Integer id);
}
